<template>
  <el-dialog
    :visible="isShow"
    title="测试弹窗"
    @close="$emit('update:isShow', false)"
  >
    <div>内容</div>
    <template #footer>
      <div style="text-align: center">
        <el-button @click="$emit('update:isShow', false)">取消</el-button>
        <el-button type="primary">确定</el-button>
      </div>
    </template>
  </el-dialog>
</template>
<script>
export default {
  props: {
    isShow: {
      type: Boolean,
      required: true
    }
  },
  data() {
    return {
      // show: false
    }
  }
}
</script>
<style></style>
